package com.woniuxy.secondhand.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 商品类型
 * </p>
 *
 * @author chaohuijiang
 * @since 2020-09-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("SEC_GOODSTYPE")
@ApiModel(value="SecGoodstype对象", description="商品类型")
@KeySequence("SEC_TYPE")
public class SecGoodstype implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品类型编号")
    @TableId(value = "SEC_GOODSTYPE_ID",type = IdType.INPUT)
    private Integer secGoodstypeId;

    @TableField("GOODSTYPE")
    private String goodstype;

    @ApiModelProperty(value = "商品图片地址")
    @TableField("IMG")
    private String img;

    @ApiModelProperty(value = "软删除")
    @TableField("FLAG")
    private Integer flag;

public SecGoodstype(String goodstype,String img ){
    this.goodstype=goodstype;
    this.img=img;
}

}
